<template>
<!-- vue3组件中的模板结构可以没有根标签div -->
<Demo>
    <div>
    </div>
    <template v-slot:test> 
      <div>
              {{animals.name}}

      </div>
    </template>
</Demo>
</template>

<script>
import Demo from './components/demo.vue'

export default {
  name: 'App',
  components:{Demo},

}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
